package com.hspedu.transformation;

import java.io.*;

/**
 * @author LiuJinTao
 * @className OutputStreamReader_
 * @date 2024/06/28 15:50
 * @description TODO
 */
public class OutputStreamReader_ {
    public static void main(String[] args) throws IOException {
        String path = "e:\\b.txt";
        String charSet = "gbk";
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(path), charSet));
        bw.write("哈喽11111");
        bw.close();
    }
}
